#ifndef ROUTER_HANDLER_H
#define ROUTER_HANDLER_H

// 可继承该类自定义路由处理器
class RouterHandler
{
public:
    virtual ~RouterHandler() = default;
    virtual void handle(const HttpRequest &req, HttpResponse *res) = 0;
};

#endif // ROUTER_HANDLER_H